package com.lzhsite.technology.designPattern.visitor.DepartmentDemo;

public class A implements Visitor
{
    public void visit(PartA partA)
    {
        System.out.println("A 主管 " + partA.getName());
    }

    public void visit(PartB partB)
    {

    }
}
